home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypertxt / msdos / hyprvx11 / edit < prev    next >
Encoding:
Text File  |  1990-11-03  |  2.6 KB  |  83 lines

  1. EDIT
  2.  
  3. Invokes the default editor enabling you to edit a message before you
  4. send it. If you do not specify a default editor, the EDT editor is used.
  5. See the EDT Reference Manual for information about the EDT editor.
  6.  
  7. Format:        EDIT [filename]
  8.  
  9.  
  10. Qualifiers:    /COMMAND
  11.  
  12.                /COMMAND=ini-file-spec
  13.  
  14.                Indicates the name of an EDT startup command file (EDTINI) for
  15.                "ini-file-spec". If you do not specify a startup command file
  16.                for "ini-file-spec", the default EDTINI.EDT file set up for the
  17.                DCL EDIT command takes effect.
  18.  
  19.  
  20.                /CREATE
  21.  
  22.                Tells MAIL to create a file. MAIL prompts you for a file name
  23.                when you do not specify one on the EDIT command line.
  24.  
  25.                     
  26.                /JOURNAL
  27.  
  28.                /JOURNAL=jou-file-spec
  29.  
  30.                Specifies "jou-file-spec" as the name of the journal file.
  31.  
  32.      
  33.                /OUTPUT
  34.  
  35.                /OUTPUT=out-file-spec
  36.  
  37.                Specifies "out-file-spec" as the name of the output file.
  38.  
  39.  
  40.                /READ
  41.  
  42.                Indicates that a journal file or output file not be created. 
  43.                If you do not specify an existing file with the /READ qualifier,
  44.                MAIL displays the message, "Input file does not exist" and
  45.                returns the MAIL> prompt. When you use the /READ qualifier,
  46.                enter the QUIT command to exit from EDT. If you enter the EXIT
  47.                command, you are prompted for a file specification.
  48.  
  49.  
  50.                /RECOVER
  51.  
  52.                Indicates that you want to recover a previous editing
  53.                session that was prematurely aborted.
  54.  
  55. Examples:
  56.  
  57.       1.
  58.            MAIL> EDIT/COMMAND=EDTFUN.EDT FILENAME.DAT
  59.                1  This is the first line of text in FILENAME.DAT.
  60.            [EOB]
  61.            *
  62.               .
  63.               .
  64.               .
  65.            *EXIT
  66.            DISK$MEGAWORK:[BURTON]FILENAME.DAT;1 13 lines
  67.            MAIL>
  68.  
  69.                     This example shows how to invoke the EDT editor and 
  70.                     execute the commands in an EDT startup command file named    
  71.                     EDTFUN.EDT to edit an already existing file named            
  72.                     FILENAME.DAT before sending it.
  73.  
  74.       2.
  75.            MAIL> EDIT/READ
  76.            _File: EXISTS.TXT
  77.               .
  78.               .
  79.               .
  80.            *QUIT
  81.  
  82.                     This example shows how to use the /READ qualifier with the
  83.                     EDIT command and exit with the QUIT command.